package com.cxy.client;

import com.cxy.factory.SimpleFactory;
import com.cxy.phone.Phone;

public class SimpleFactoryClient {
    public static void main(String[] args) {
        Phone huawei = SimpleFactory.producePhone("Huawei");
        huawei.call("10086");
        Phone xiaomi = SimpleFactory.producePhone("Xiaomi");
        xiaomi.call("10086");
    }
}
